package com.woniu.dao;

import com.woniu.pojo.Shipping;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ShippingMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Shipping record);

    int insertSelective(Shipping record);

    Shipping selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Shipping record);

    int updateByPrimaryKey(Shipping record);

    @Select("select * from shipping where user_id = ${id}")
    List<Shipping> getRecAddress(Long id);
}